SCOUTING_THE_STRONGHOLD = 31124 #quest
STRONGHOLD_ENTRANCE = 271030000

if sm.hasQuest(SCOUTING_THE_STRONGHOLD) or sm.hasQuestCompleted(SCOUTING_THE_STRONGHOLD):
    warp(STRONGHOLD_ENTRANCE)